/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Bussinnes;

import Dao.CompetenciasLoboralesFacadeLocal;
import Model.CompetenciasLoborales;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;

/**
 *
 * @author jose
 */
@Stateless
public class CompetenciasBL implements CompetenciasBLLocal {

    @EJB
    private CompetenciasLoboralesFacadeLocal competenciasLoboralesFacade;

    public List<CompetenciasLoborales> Lista() {
        return competenciasLoboralesFacade.findAll();
    }

    public void RegistrarCompetencias(CompetenciasLoborales c) {
        competenciasLoboralesFacade.create(c);
    }


    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
}
